// components/expertScroll/expertScroll.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    expertArr: {
      type: Array,
      value: []
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    expertChatAction(e) {
      let item = e.currentTarget.dataset.item;
      this.triggerEvent("expertChat", { item: item })
    },
    //跳转到置业顾问详情:
    pushToExpertDetail(e) {
      let item = e.currentTarget.dataset.item;
      wx.navigateTo({
        url: '/shopMallPackage/pages/newActivityDetail/newActivityDetail?houseNumber=' + item.id,
      })
    },
  }
})
